home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / system / pock41.zip / 10NIFTY.DOC next >
Text File  |  1994-06-01  |  4KB  |  96 lines

  1.  
  2.  ------------ 10 Nifty things you can do with PocketD Plus ------------
  3.  
  4. These  are command-line examples. All of PocketD's features can also be
  5. accessed via the MENUD menu-driven interface.
  6.  
  7.  1. Use it instead of DOS's DIR for viewing your directories.
  8.  
  9.      Just  typing  "D" gives you  a sorted color double column  display
  10.      that  pauses when the screen is full. In addition to this you  can
  11.      add  your  own  configurable  color-coding of filenames  and  more
  12.      tailoring  and  display options  than any other directory  listing
  13.      program (as of Jun94). Add just one option and:
  14.  
  15.      D /Q      Turns  D into a  full scrolling browsing tool,  allowing
  16.            files  to  be viewed,  copied or run, and  archives  and
  17.            subdirectories  to be explored. If the programs  PKUNZIP
  18.            etc.  are  available, then  D will also  allow  archived
  19.            files  to  be viewed  or un-archived. (/Qz  allows  file
  20.            delete).
  21.  
  22.      D /?      Gives  one help page, with information for accessing the
  23.            107k of on-line help.
  24.  
  25.  2. Use it to backup your disks
  26.  
  27.       D /WTccu A:
  28.  
  29.      would  search  the  (W)hole  drive for files modified  or  created
  30.      (T)oday  and  (c)opy them to  drive A:, providing that either  the
  31.      file  does not already exist on A: or is older. (PocketD  provides
  32.      23 copy sub-options).
  33.  
  34.  3. Look for hard-to-find files
  35.  
  36.       D *ASP* *BBS*94* /W!E'Shareware' /c
  37.  
  38.      would search the (W)hole drive for files with names containing the
  39.      string  "ASP" or "BBS" followed  later by "94", where the file  is
  40.      non-(E)xecutable  and contains  the string 'Shareware' inside  the
  41.      file.  Any files found can then be optionally viewed and/or copied
  42.      to  the current directory. You can make this search more  specific
  43.      by  adding  size  and  date  ranges and  multiple  include/exclude
  44.      filespecs.
  45.  
  46.  4. Create a BAT file that could re-build the subdirectory structure of
  47.     your hard disk
  48.  
  49.       D /WDu[md $w//] > RESTDIR.BAT
  50.  
  51.  5. Uncompress  each  ZIP file on  A: into its own subdirectory on  the
  52.     current drive.
  53.  
  54.       D a:*.ZIP [MD $n//PKUNZIP $w $n\]R
  55.  
  56.  6. Take a PROCOMM log file and rename it to give a unique name
  57.  
  58.       D PCPLUS.LOG LOG* [REN $f LOG$05F]RKv
  59.  
  60.     giving LOG00001 for the first, and LOG00002 for the next one etc..
  61.  
  62.  7. Search  for files in any  subdirectory or ZIP, CRU, ARC, PAK,  LZH,
  63.     ZOO, ARJ or SFX "self-uncompressing" archive
  64.  
  65.       D *.TXT *=D=D* /WZ
  66.  
  67.      would  search  the  current  drive  scanning  all  subdirectories,
  68.      including  any  archives found,  for any files with the  extension
  69.      .TXT  or a consecutive double  digit in its name (e.g.  DIET14.EXE
  70.      but not PRO1V2.COM).
  71.  
  72.  8. Analyse  your  hard disk  to  find out the relative sizes  of  each
  73.     subdirectory
  74.  
  75.       D /r%gss
  76.  
  77.      This  example  also gives  the relative percentage usage  of  each
  78.      subdirectory  and  plots a  bar-chart to show the relative  sizes,
  79.      sorting the output by subdirectory size.
  80.  
  81.  9. To remind you when you haven't backed-up your hard disk recently
  82.  
  83.       D BACK.TAG /!:-7 [You have not backed-up your disk since $d//]
  84.  
  85.      warning the user if 7 days have elapsed since the last backup. The
  86.      user can modify the date of BACK.TAG to the current date each time
  87.      a backup is completed.
  88.  
  89.  10. Ask multi-option questions from BAT files (e.g. AUTOEXEC.BAT)
  90.  
  91.     D /Ywbd /'Choose (W)indows, (B)ackup hard disk or (D)os prompt ?'
  92.     IF ERRORLEVEL 3 GOTO DOS
  93.     IF ERRORLEVEL 2 GOTO BACKUP
  94.     IF ERRORLEVEL 1 GOTO WINDOWS
  95.  
  96.